import java.rmi.Remote;
import java.rmi.RemoteException;


public interface BanqueInterface extends Remote{
	
	void ouvrirCompte(String nom, String password)throws Exception, RemoteException;
	Compte CompteVerifie(String nom, String password)throws Exception, RemoteException;
	int fermerCompte(String nom, String mdp) throws RemoteException;
	void deposer(int somme, Compte c) throws RemoteException;
	int  retirer(int somme, Compte c) throws RemoteException;
	int  soldeCompte(Compte c) throws RemoteException;
	
}
